Move this code back up where it originally was above `Language.prototype._modeToLanguageMap` so the diff is easier to read.