update CodeMirror to 3.24

to be backported to 2.1