Taking into account time difference from server to client

- Note: This could be affected by a slow loading pages but it shouldn't be too noticeable.
- If noticeable a good step would be to add an AJAX call after initial load to get a more accurate offset, overriding the old one