initialized codemirror