Comitting and adding js for canvasClock