Updating reference to obsolete jQuery function.