Use window.location.origin