cleaned up codemirror objekt