@Krinkle Well, no, that's the point.  When run in Node, jquery requires a `window` to already be defined, or it throws an undefined reference at this point.  It looks like you really do want it to be the global though, not some random object.  (There's `window.String` stuff, it looks like.)