fixing a bug where countdown timers werent working correctly in Firefox and IE