working on codemirror demo