using manager.js, keep logic in player.js to a minimum