add switchMenuItemPos ajax script