This closes #12, paginating only html calls, and not json calls.