Using window.open instead of "href"