a program to add javascript clock