Compatibility with jQuery 1.9