YTA-1189: update to variable names and logic for opening in a new window
YTA-1189: update to variable names and logic for opening in a new window

hmrc/assets-frontend,hmrc/assets-frontend,hmrc/assets-frontend