input time with javascript changing value
fixing conflicts