Reworked server time.

Reworked the way the server time is derived with jQuery.