Migrate UglifyJs to new version and fix a bug

1. Migrate uglify to [UglifyJS2](https://github.com/mishoo/UglifyJS2) and add it to dependencies, which is described in issue #5.
2. Recover `require` when init builders