Fix parsing of bogus comments in fake closing tag
remove obsolete safari 4 xss