Update game.js

Substituting the alerts for appended text