Fix JS to open links in new window