document
            .getElementById("main-content")
            .appendChild(template.content.cloneNode(true));
        }
      };

      const setEnrollTokenUrl = (url) => {
        document.querySelector(".enroll-link").setAttribute("href", url);
      };

      // dynmaic content rendering for ios and ipad only
      const setIosIpadContent = (platform) => {
        if (platform === "ios") {
          deviceType = "iPhone";
        } else if (platform === "ipad") {
          deviceType = "iPad";
       