Lightweight syntax highlighter written in JavaScript