player.js changes