synchronizing slides

updated code from socket.io
now using websocket-rails solution