anchor.diff:        $chat = $("#chat");
         $editor = $("#editor");
         $img_load = $("#img-load").remove();
  +      $btn_submit = $("#btn_submit");
         //- $btn_join = $("#btn_join");
         //- $chat_load_msg = $("#chat_load_msg");
         $messages = $("#messages");
  
positive.code:         $.blockUI({
            message: $overlay
          });
          
          $.gritter.add({
            title: "Error",
            text: message,
  
negative.code: 
        // Event handlers
        // ==============
        $("#message").keypress(function (e) {
          if(e.which == 13) {
            send_chat();
            return false;
          }
        });
  
        $("#input_uname").keypress(function (e) {
          if (e.which == 13) {
            $btn_submit.click();
            return false;
          }
        });
  