integrating codemirror