fixed loading of codemirror