Give the original jQuery selector as the second param to onSelect (fixes https://github.com/infusion/jQuery-Paging/issues/12)