revised countdown.js