Using AJAX-style request for query results, losing pagination for now