prepare for tests on sauce labs
rewrite test to work in IE8