updating CodeMirror mode to include else if, and remove case, and add cases...