upgraded to codemirror 4.0