Countdown timer in JavaScript.