IE8 test - change order of operations