fix for latest jquery