don't write to window.location when href works just as well