ES6 module shim for CodeMirror.