Fix ie for lack of toISOString