add codemirror and javascript mode