Update `freeGlobal` assignment in platform.js and qunit-extras to work in node-webkit.