refactoring error message handling - backup checkin before ie8 test