Corrected shopper pagination with AJAX