adding in refactored jquery