adding codemirror to build and converting textarea