JS file for opening link in a new window