clock updated to work in ie/moz