Right now we use codemirror's JavaScript mode on the website but there's a JSX mode now so we should start using that instead.

for (var v = state.localVars; v; v = v.next)
      if (v.name == varname) return true;
  }
  function parseJS(state, style, type, content, stream) {
    var cc = state.cc;
    
    
    cx.state = state; cx.stream = stream; cx.marked = null, cx.cc = cc;
  
    if (!state.lexical.hasOwnProperty("align"))
      state.lexical.align = true;
    while(true) {
      var combinator = cc.length ? cc.pop() : jsonMode ? expression : statement;
      if (combinator(type, content)) {
        while(cc.length && cc[cc.length - 1].lex)
          cc.pop()();
        if (cx.marked) return cx.marked;
        if (type == "variable" && inScope(state, content)) return "variable-2";
        return style;
      }
    }
  }
  
  var cx = {state: null, column: null, marked: null, cc: null};
  function pass() {