Store page-nav once in a variable like `$pageNav` and then use it everywhere you use `$('#page-nav')` or `$(this)` to avoid repeatedly creating new jQuery objects.