adding codemirror stuff