getting rid of debugging puts and moving ajax call to create in game.js