add: constValue = constValue.replace(/\&(\w+)\;/g, replaceEntities); 
context: function mm_importbundle(bundle, targetWindow, index){    const nsIPropertyElement = Components.interfaces.nsIPropertyElement;    if (!targetWindow)        targetWindow = window;    if (typeof index == "undefined")        index = arrayIndexOf(this.bundleList, bundle);        var pfx;    if (index == 0)        pfx = "";    else        pfx = index + ":";    var enumer = bundle.getSimpleEnumeration();    while (enumer.hasMoreElements())    {        var prop = enumer.getNext().QueryInterface(nsIPropertyElement);        var ary = prop.key.match (/^(msg|msn)/);        if (ary)        {            var constValue;            var constName = prop.key.toUpperCase().replace (/\./g, "_");            if (ary[1] == "msn" || prop.value.search(/%(\d+\$)?s/i) != -1)                constValue = pfx + prop.key;            else                constValue = prop.value.replace (/^\"/, "").replace (/\"$/, "");            targetWindow[constName] = constValue;        }    }    if (this.bundleList.length == 1)        this.defaultBundle = bundle;}
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1622/db6c3e20453339c1212660153188c5df93f4c0af/message-manager.js/buggy/js/lib/message-manager.js