added catch handler for the syntax highlighter to work in IE 6-8