add codemirror as js editor