Attempts to Ajaxify pagination.