[build] conversion to JS update