Fix pretty dates in IE/mobile