Updated to CodeMirror 3.1 and Esprima 1.0.2.