A javascript recreation of dreeves/tagtime