update CodeMirror and fix highlighting active line, v2