removed unnecessary function in games.js file
removed unnecessary function in games.js file