add:     if (DWREngine._batchQueue.length != 0) { var sendbatch = DWREngine._batchQueue.shift(); DWREngine._sendData(sendbatch); DWREngine._batches[DWREngine._batches.length] = sendbatch; } 
context: DWREngine._clearUp = function(batch) {  if (batch.completed) {    DWREngine._handleError("Double complete");    return;  }  // IFrame tidyup  if (batch.div) batch.div.parentNode.removeChild(batch.div);  if (batch.iframe) {    // If this is a poll frame then stop comet polling    if (batch.iframe == DWREngine._pollFrame) DWREngine._pollFrame = null;    batch.iframe.parentNode.removeChild(batch.iframe);  }  if (batch.form) batch.form.parentNode.removeChild(batch.form);  // XHR tidyup: avoid IE handles increase  if (batch.req) {    // If this is a poll frame then stop comet polling    if (batch.req == DWREngine._pollReq) DWREngine._pollReq = null;    delete batch.req;  }  for (var i = 0; i < batch.postHooks.length; i++) {    batch.postHooks[i]();  }  batch.postHooks = null;  // TODO: There must be a better way???  for (var i = 0; i < DWREngine._batches.length; i++) {    if (DWREngine._batches[i] == batch) {      DWREngine._batches.splice(i, 1);      break;    }  }  batch.completed = true;};
meta: 266	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/e52d243cc5fdca0e5a21595e0187a99b102489e2/engine.js/clean/java/org/directwebremoting/engine.js