
(function($){$.oajax=$.ajax;$.xhr_reference_index=[];$.ajax=function(origSettings){var s=jQuery.extend(true,{singleton:false,delay:0,blocking:false,index_key:origSettings.url},origSettings);xhr_ref=$.xhr_reference_index[s.index_key];if(s.singleton){if(undefined!=xhr_ref){if(!s.blocking){if(undefined!=xhr_ref.xhr)xhr_ref.xhr.abort();clearTimeout(xhr_ref.timer);$.clear_xhr_refs(s.index_key);}else{return xhr_ref.xhr;}}}
if(s.delay>0){$.xhr_reference_index[s.index_key]={xhr:undefined,timer:undefined,callback:function(){$.xhr_reference_index[s.index_key].xhr=$.oajax(s);}};$.xhr_reference_index[s.index_key].timer=setTimeout("jQuery.xhr_reference_index['"+s.index_key+"'].callback();",parseInt(s.delay));return $.xhr_reference_index[s.index_key].timer;}else{$.xhr_reference_index[s.index_key]={xhr:$.oajax(s),timer:undefined,callback:function(){}};return $.xhr_reference_index[s.index_key].xhr;}};$.clear_xhr_refs=function(key){$.xhr_reference_index[key]=undefined;}})(jQuery);jQuery(document).ajaxComplete(function(e,xhr,s){jQuery.clear_xhr_refs(s.index_key);});
(function(a){a.oajax=a.ajax;a.xhr_reference_index=[];a.ajax=function(c){var b=jQuery.extend(!0,{singleton:!1,delay:0,blocking:!1,index_key:c.url},c);xhr_ref=a.xhr_reference_index[b.index_key];if(b.singleton&&void 0!=xhr_ref)if(b.blocking)return xhr_ref.xhr;else void 0!=xhr_ref.xhr&&xhr_ref.xhr.abort(),clearTimeout(xhr_ref.timer),a.clear_xhr_refs(b.index_key);return b.delay>0?(a.xhr_reference_index[b.index_key]={xhr:void 0,timer:void 0,callback:function(){a.xhr_reference_index[b.index_key].xhr=a.oajax(b)}},
a.xhr_reference_index[b.index_key].timer=setTimeout("jQuery.xhr_reference_index['"+b.index_key+"'].callback();",parseInt(b.delay)),a.xhr_reference_index[b.index_key].timer):(a.xhr_reference_index[b.index_key]={xhr:a.oajax(b),timer:void 0,callback:function(){}},a.xhr_reference_index[b.index_key].xhr)};a.clear_xhr_refs=function(c){a.xhr_reference_index[c]=void 0}})(jQuery);jQuery(document).ajaxComplete(function(a,c,b){jQuery.clear_xhr_refs(b.index_key)});

use google compiler instead of jsmin for minified version