include google-hosted jquery
replace scrollTop method with $.fn.scrollTop
use jQuery event handler
remove stray semicolon
don't support deprecated getBoxObjectFor