Make minify() global