rem: var child = responseElement.childNodes[j] if (child.nodeType == 1) { handler(child); } 
add: handler(responseElement.childNodes[j]); 
context:   _messageHandler: function(request)  {    try    {      if (request.status == 200)      {        var response = request.responseXML.getElementsByTagName("ajax-response");        if (response != null && response.length == 1)        {          for ( var i = 0 ; i < response[0].childNodes.length ; i++ )          {            var responseElement = response[0].childNodes[i];            // only process nodes of type element.....            if ( responseElement.nodeType != 1 )              continue;            var id   = responseElement.getAttribute('id');            var handler = amq._handlers[id];            if (handler!=null)            {              for (var j = 0; j < responseElement.childNodes.length; j++)              {                var child = responseElement.childNodes[j]                if (child.nodeType == 1)                {                  handler(child);                }	      }            }          }        }      }    }    catch(e)    {      alert(e);    }  },
meta: 8642	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8642/b3538319995aef836446ec91651df8aecb804469/_amq.js/buggy/activemq-web/src/main/resources/org/apache/activemq/web/_amq.js