Expose Clock object to document