Building a Simple Digital Clock with JavaScript