Deprecating the jQuery function