Syntax highlighter written in javascript