rem: if( gShowDescription ) description.appendChild(descText); 
add: description.appendChild(descText); 
context: function themeSelect(){  var list = document.getElementById("skinsList");  if (!list)    return;  var prefbundle = document.getElementById("bundle_prefutilities");  var selectedItem = list.selectedItems.length ? list.selectedItems[0] : null;  if (selectedItem && selectedItem.getAttribute("skin") == "true") {    var themeName = selectedItem.getAttribute("displayName");    var skinName = selectedItem.getAttribute("name");    gData.name = skinName;    gData.themeIndex = list.selectedIndex;    var nameField = document.getElementById("displayName");    var author = document.getElementById("author");    var image = document.getElementById("previewImage");    var descText = document.createTextNode(selectedItem.getAttribute("description"));    var description = document.getElementById("description");    var uninstallButton = document.getElementById("uninstallSkin");    var uninstallLabel = prefbundle.getString("uninstallThemePrefix");    while (description.hasChildNodes())      description.removeChild(description.firstChild);    nameField.setAttribute("value", themeName);        author.setAttribute("value", selectedItem.getAttribute("author"));    var authorURL = selectedItem.getAttribute("authorURL");    if (authorURL != "") {      author.setAttribute("link", selectedItem.getAttribute("authorURL"));      author.className = "themesLink";    }    else {      author.removeAttribute("link");      author.className = "";    }            image.setAttribute("src", selectedItem.getAttribute("image"));    // XXX - this sucks and should only be temporary.    var selectedSkin = "";    try {      selectedSkin = gPrefSvc.CopyCharPref("general.skins.selectedSkin");    }    catch (e) {    }    if( gShowDescription )       description.appendChild(descText);        var locType = selectedItem.getAttribute("loctype");    uninstallButton.disabled = (selectedSkin == skinName) || (locType == "install");        uninstallLabel = uninstallLabel.replace(/%theme_name%/, themeName);    uninstallButton.label = uninstallLabel;  }  else {    uninstallButton.disabled = true;    gData.name = null;  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f2cd080dc12692a17f68cafeca30bf129b1fd0aa/pref-themes.js/clean/browser/components/prefwindow/content/pref-themes.js