refactored jquery - reduced redundant selectors.