Added debugging messages to sc-player.js