common js build script