fixing bug in the newgame.js stuff