Initial setup for codemirror