Updated Player.js