IE8 .indexOf polyfill, Windows Chrome Date fix