Creating an Analog Clock using JavaScript and Canvas in the Browser