server.js and player.js updated