add build process for javascript