Fixed QUnit global variable attribution, under some circumstances it hangs