Cleanup lib/minify.js.
Use `_.partial` placeholders and cleanup code.