Advanced HTML5 stop watch