updated codemirror to v3.1