initial codemirror setup