Fix browser.Navigate() by using javascript window.location