Removing redundant limit parameter from AJAX