Jquery function to open external links in new tab