Fixed browser-side tests to work on IE8.