if (window.location.pathname === "/demo-portal/"){ }else{ }