converted gameManager.js to a pojo that extends Backbone events