Add foundation for game (main.js)