Improved minify and maxify, with filters