Firefox doesn't know window.location.origin, fixes #9
noop