nodejs api implementation paging and correct collection links

nodejs api implementation paging and correct collection links