Adding options to navbar.menu.js to allow for more flexible contrib module implementations.