Fix #371 jQuery 1.9 incompatibility