linkButton').onclick = function () {
      linkHandler.open();
    };

    window.addEventListener('DOMContentLoaded', (event) => {
      document.querySelectorAll(".macros").forEach(el => {
        el.innerHTML = el.innerHTML.replace("{{title}}",        config.pageTitle  )
        el.innerHTML = el.innerHTML.replace("{{account_name}}", config.accountName)
      });

      var link = config.type == "link"
      document.querySelectorAll(".plaid_link"  ).forEach(el => el.style.display = link ? "block" : "non