  <script>
      (function renderMenu() {
        var menuComponent = CmsUi.Menu;
        var menuProps = {
          items: menus,
        };
        var menuElement = CmsUi.createElement(menuComponent, menuProps);
        var menuContainer = document.getElementById('menu_container');

        CmsUi.render(menuElement, menuContainer);
      })();
    </script>

    <div id="root"></div>
  </body>
</html>
