Simple javascript stopwatch that emulates normal stopwatches