added compressHTML()