minor tweak to js build script
tweak a few uglify options for smaller code