var oResult = document.getElementById('result');
var countdown = new CountDown({
  time: 8 * 60 * 60 * 1000,
  onChange(currentTime) {
    oResult.innerText = CountDown.format(currentTime);
  },
  onEnd() {
    oResult.innerText = '倒计时结束!';
  }
});

countdown.start();