added support to minify HTML