Pager: Fix JSHint code issues from #711