js about main menu finished ,now try to think about the data struct