Refactoring, Optimizing and Refactoring in Game.js, Player.js, PlayerController.js and World.js