Refactoring game.js.
Imlement notice.