Pull from window, if @jQuery doesn't resolve

In "plain" Js, `this` resolves to the window and pulls jQuery from there. That's fine. But when using it with amd/commonjs module loading, `this` may not necessarily equal the window.

This PR changes it, to pull from `window.jQuery` if `this.jQuery` is not defined.