Adding mode to myCodeMirror