Fix compatibility with jQuery 1.9.x
Merge branch 'master' into 2.3.0-wip