Make error messages work in IE7