add scoreboard container, and refactoring code in menu.js