Generalized removal of CDATA in script tags