Updated to new jQuery, Fixes for issues #3 and #6

Fixes bug with gotopage "end"
Fixes issues with new versions of jQuery and jQuery UI