Changed name of variables in Game.Js and removed few useless arguments(ctx)
Added comment to Map.js, and created few variables