rem: reply += encodeURIComponent(element); reply += ":reference:"; reply += childName; reply += ", "; } 
add: reply += encodeURIComponent(element) + ":reference:" + childName + ", "; 
context: DWREngine._serializeObject = function(batch, referto, data, name) {  var ref = DWREngine._lookup(referto, data, name);  if (ref) return ref;  // This check for an HTML is not complete, but is there a better way?  // Maybe we should add: data.hasChildNodes typeof "function" == true  if (data.nodeName && data.nodeType) {    return DWREngine._serializeXml(batch, referto, data, name);  }  // treat objects as an associative arrays  var reply = "Object:{";  var element;  for (element in data)  {    if (element != "dwrSerialize") {      batch.paramCount++;      var childName = "c" + DWREngine._batch.map.callCount + "-e" + batch.paramCount;      DWREngine._serializeAll(batch, referto, data[element], childName);      reply += encodeURIComponent(element);      reply += ":reference:";      reply += childName;      reply += ", ";    }  }  if (reply.substring(reply.length - 2) == ", ") {    reply = reply.substring(0, reply.length - 2);  }  reply += "}";  return reply;};
meta: 266	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/5698e064fd7cfccfcf96b459e1b1024bad78f808/engine.js/buggy/java/org/directwebremoting/engine.js