refactor cheaters.js