Updated countdown timer to use setInterval(...) instead of setTimeout(...)