add more modes for codemirror