What does this do? Add a watch to current page and numPerPage? And when they change it runs the function?