Synchronize time with server on page load.