The UglifyJS API should return warnings and hints on the result object, rather than calling the `console` functions directly.