adding codemirror as sub