let menu = menubar.firstChild;
を
let menu = menubar.firstChild.nextSibling;
に