Javascript mode for CodeMirror