[Finishes #67418236] use ajax to get menus