Switch to gem-based CodeMirror