Initial code from turbolent.
Tabs -> spaces.
Prefix styles with 'cm-'.

Current CodeMirror2 requires this.
Fix accidental global.