In Page.getBaseUrl, repalce window.origin.origin with .host

Browser support for the new way is better. Closes #95