JavaScript and CSS3 stopwatch