refactoring jquery global calls into more performant calls