made menus appear through ajax