Port to jQuery 10.1.2