move location creation out of game.js