Added a JavaScript clock function, jQuery click() for the dog