Expose earth to window.