Remove unnecessary check
Make 'require' global until all of the calls are changed.
Support sourcemaps in JS files.

* Add sourcemaps to the asset targets.
* Use uglifyjs directly instead of through minifier.
* Inject newlines between concatenated files so that sourcemap
  comments work.