Use window.location.hostname