AMDClean doesn’t seem to be working well with CodeMirror. So lets load it globally and just do some dependency injection