Remove global var in QUnit test
Merge branch 'master' into gh-pages