I prefer braces to be used all the time, this way we don't debug and make mistakes.  also a coding style nit:
if (new Date...

^ notice the space between if and (