add websocket.js and route player controls