Update to CodeMirror 3.1