code: function findLanguageNameFromCode( languageCode ) {
    var a = 0;
    var b = LANGUAGES.length;
    var m = b;
    var item, code, name;
  
    languageCode = languageCode.toLowerCase();
  
    while( b - a > 1 ) {
      m = Math.floor( (a + b) / 2 );
      item = LANGUAGES[m];
      code = item[0];
      name = item[1];
      if( code == languageCode ) return name;
      if( languageCode < code ) b = m;
      else a = m;
    }
    return null;
  }
docs: Dichotomic search.