updated to codemirror 3.0