Working in gameplay.js, running into callback issues