put time on with javascript