SUPER rudimentary javascript time stuff

i fail at life