Don't use the function href twice

Namely, if we do, then the local setup doesn't work as the browser
interprets a web-location starting with // as a location on WWW