Fix issue with Jquery >= 1.9

See #500