enhanced player.js to listen to remote control websocket