window.adiData = {"affiliate":"nj","entryUrl":"https://www.nj.com/homepage","environment":"prod","pageType":"homepage","rgProduct":"homepage-beta","preview":false,"siteSection":"Home Page","toprailEcr":false}; var environment = window.location.toString().includes("uat") || window.location.toString().includes("localhost") ? "uat" : "prod"; window.adiData.environment = environment;