JavaScript mode for the CodeMirror component