Fix after changes to jQuery.