successfully initialized codemirror