Don't explicitly reference global jQuery

Removes `window.jQuery` in favor of `jQuery`, fixes #10038
Merge pull request #10039 from daguej/js-refs

Don't explicitly reference global jQuery