Cross-browserize the timer.