CodeMirror usage fixed