Fix for tests on old browsers.