add: var string = languagesArray.join(","); 
context:   removeLanguage: function ()  {    // Build the new preference value string.    var string = "";    for (var i = 0; i < this._activeLanguages.childNodes.length; ++i) {      var item = this._activeLanguages.childNodes[i];      if (!item.selected)         string += (i == 0 ? "" : ",") + item.id;      else          this._acceptLanguages[item.id] = false;    }    // Get the item to select after the remove operation completes.         var selection = this._activeLanguages.selectedItems;    var lastSelected = selection[selection.length-1];    var selectItem = lastSelected.nextSibling || lastSelected.previousSibling;    selectItem = selectItem ? selectItem.id : null;        this._selectedItemID = selectItem;    // Update the preference and force a UI rebuild    var preference = document.getElementById("intl.accept_languages");    preference.value = string;    this._buildAvailableLanguageList();   },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/e440bea2f96c3da1f91a858304e36ee355f75e5f/languages.js/clean/browser/components/preferences/languages.js