scope: introduce phantomas.spyGlobalVar() helper

And use it in jQuery module