All the code for your AJAX calls is identical except for the addition of the `limit` parameter on this line. Seems like it could be extracted into a function to remove the duplication.