Upgrading to CodeMirror 3.0.