Update build script in JS.