fix JS error and update new structure menu