rem: if (batch.postHook) batch.postHook(); 
add: for (var i = 0; i < batch.postHooks.length; i++) { batch.postHooks[i](); } batch.postHooks = null;  
context: DWREngine._clearUp = function(batch) {  if (batch.completed) {    alert("double complete");    return;  }  if (batch.div) batch.div.parentNode.removeChild(batch.div);  if (batch.iframe) batch.iframe.parentNode.removeChild(batch.iframe);  if (batch.form) batch.form.parentNode.removeChild(batch.form);  // Avoid IE handles increase  delete batch.req;  if (batch.postHook) batch.postHook();  // 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/4b60feb51dda7728db59af5a77dcd95cb3cd6f1c/engine.js/buggy/java/uk/ltd/getahead/dwr/engine.js