ISO8601 date JavaScript parser