fixed the new 1-arg JSDate constructor