reimplemented game menu in html