IE8 fix for ajax test teardown