switch to browserify and uglify-js