updated clock js