fixing date not displaying in IE