updated ajaxification of adding items and menus by changing where they were appended to