build script for release with uglifyjs