Improve demo with codemirror