removePaginationEvents() fix

The pagers.length threw an error on my site when the pagers were null. Checking for pagers existence fixed it.