browserify filter needs a function, not a module

so contrive a function that sends the content to uglify.minify