WP-4616 Adding ajax for paging support