Cross-browser toISOString support.