Replace CodeMirror global access by brackets module