anchor.diff:    
     
     socket.emit('user config', data);
  +  console.log("Room?", window.socket_room);
   
     $('#top').on('click', function(){
       window.location = "/";
  
positive.code:     if (match){
        var roomname = message.replace("/joinroom ", "");
        change_room = {
          room: roomname,
          name: username
        }
  
negative.code:   window.socket_room = "lobby";
    window.userName = $("span.current_user").text() || "Anonymous";
  
    var socket = io("<%= Rails.configuration.socket_url %>");
  
    $('#random_chat').on('click', function(){
  