jQuery performance enhancements / Code cleanup

Improvements made based on JSPerf testing. Removed unused JSLint
directives from gulpfile.