use uglify to compress the code