Fix message so unit tests pass in IE