AJAX can't show the last page