added notice and moved js code from dialoggame.html to game.js