Add ajax on all paginations.