Don't use window.location.origin