A javascript clock of sorts.