anchor.diff:  
   // $(function(){
     
  -  var data = {username: username};
  +  
     
   
     function update_rooms_list(rooms){
  +    var rooms_block = "", room_arr = [];
       $('#rooms').empty();
  -    for (room in rooms){
  -      $('#rooms').append('<li id="' + rooms[room] + '">' + rooms[room] + '</li>');
  -    }
  +    for (var i = 0; i < rooms.length; i++){
  +      var index = room_arr.indexOf(rooms[i]);
  +      if (index == -1){
  +        room_arr.push(rooms[i]);  
  +      }
  +    }
  +    for (var i = 0; i < room_arr.length; i++){
  +      rooms_block = rooms_block + '<li id="' + room_arr[i] + '">' + room_arr[i] + '</li>';
  +    }
  +    $('#rooms').html(rooms_block);
     }
   
     function chat_message_parser(msg){
  
positive.code:     return url === null ? "none" : url;
    }
  
    var username, change_room, user_rooms = [], room_people, new_user = true;
  
    if (currentUser != undefined){
      username = currentUser.name;
    } else{
      username = getParameterByName('name');
      if (username.length >20){
        username.split("");
        username.splice(0,20);
        username.join();
      };
    };
  
    if (currentUser){
    $.get("/return_reddit", function (data) {    
      window.profile = data;
      user_rooms = window.profile.subreddits.map(function(el){
  
negative.code:     });
    });
  };
  
  var username, change_room, user_rooms = [], room_people, new_user = true;
  
  if (currentUser != undefined){
    username = currentUser.name;
  } else{
    username = getParameterByName('name');
    if (username.length >20){
      username.split("");
      username.splice(0,20);
      username.join();
    };
  };
  
  var data = {username: username};
  
    window.socket_room = "lobby";
    user_rooms.push(window.socket_room);
  