menu: Cross-browser compatibility