A countdown timer using JavaScript