pagination event handler now triggers on the button, not only the button text.
Merge pull request #31 from freemanirl/pagination-onclick

pagination event handler now triggers on the button, not only the button...