Fixes for CodeMirror and Select2