styling and adding codemirror