It gets the codemirror object. Previously, cm was available as a global variable.

Yeah, if there are more than one on the page, it'll be a problem. hmm...