A basic JavaScript countdown timer.