Ajax pagination in professors.html.