fix html templates for IE

 use standard CSS for IE9 and fix trailing commas