refactor deleteOldGameData.js