[Ajax] Pagination through ajax WIP