updated websocket.js.erb to use localhost