Compatibility with jQuery 2.1.0