initial digital-clock script in javascript