add build script for JS