Changed countdown js due to firefox freezes