(no-ticket) Fix TypeError in menu.js on sites without menu

Change-Id: I480302ade32fd0b6ace44a17c2a38a146dc8f5be
Merge "(no-ticket) Fix TypeError in menu.js on sites without menu"