Game.js changed the functions order