Add support for source maps

- Upgrade uglify-js dependency to 2.3.6 to get all the benefits from
  source maps generation
- Reorder a few things in the build system in order for source maps to work
  properly.

Source maps allow the newest browsers to find development sources from
minified code (among other things).