Issue #2338543 by eshta: Fixed QUnit tests for changes in page variation javascript.