fix compression of script and style tags