Building a stopwatch with HTML, CSS and JavaScript