Improve minimization of html