Bumps the minimum version of UglifyJs and substitutes `.compress()` for `.transform()` as recommended. In addition to a new test covering `compress` options this commit also contains updates to make existing tests pass with the update.