te(
      'src',
      `/static/assets/${serviceName}/spa/${version}/spaTopNavigation.umd.js`,
    );
    s.onload = function () {
      // top-navigation initialization
      window.spaTopNavigation.default[navigationName]();
    };

    doc.addEventListener('DOMContentLoaded', function () {
      doc.body.appendChild(s);
    });
  }
}
