Update new_game.js

Cleaning up code