Replace location.host with location.href to allow other path than / in demo URL

Change-Id: Icec5f14ca51058d4734c19bbf7b83bf73aeadbfd