rudimentary codemirror integration