preventDefault,  game-end script and images