added codemirror correctly