Backbone integration with CodeMirror