making the newgame.js interface slightly more secure