Remove checked-in node-modules, specify versions of dependencies

Also uses local installs of uglify & browserify so that globals are not
required.