Fixes Javascript links not opening in new browser tabs