Fixed animation issue for jQuery 1.9
Removed use of depreciated global event.