fix menuindex js