A JavaScript clock you can touch (or click) to set a time and (optionally) a duration