Allow customization of Javascript minification.

This provides the same interface as `minifyCSS`, and allows easy
customization of uglification options.
Merge pull request #928 from rjackson/allow-uglify-option-customization

Allow customization of Javascript minification.