second versiion of countdown.js, no global variables