Adding date.toISOString polyfill