format javascript date in ISO 8601

By Anatoly Mironov