Basic JavaScript tips

javascript load a url in new tab