A clock register for presentation using JavaScript