Generic way of setting options for UglifyJS