Add links and onclick handlers to menus