Better in sync with host time

Before this change, the clock would tick 0-999ms later than the host, depending on when you would load the page.

This change makes sure that the tick happens at the same time as the tick of the host computer.