Clarifies date/time on javascript