Implements paging books by ajax