Add CodeMirror mode switcher