ationContainer = doc.createElement('div');
    newTopNavigationContainer.setAttribute('id', containerId);

    const newTopNavigationFallback = doc.getElementById(
      `${containerId}-fallback`,
    );

    newTopNavigationFallback.after(newTopNavigationContainer);
    newTopNavigationFallback.remove();

    // Loading the fallback
    const s = doc.createElement('script');
    s.setAttribute(
      '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);
    });
  }
}
