changes to clocks js file