timer.js can be used to countdown time. You can define the time in seconds. You can also define a callback that will be executed everytime one second has elapsed until all available time has elapsed. The advantage of timer.js is that it can countdown time across pages by storing the time left in a cookie. All you need to do is define a name for the cookie and run timer.start({...}); every time a page loads