minify JS and update the version