log function calls in player.js to parent