A javascript in order to display time.