(function($) { $.isEmptyObject || ($.isEmptyObject = function(obj) { for(var i in obj) return false; return true; }); })(jQuery);