anchor.diff:  			alert('WebSocket connection not established, please connect.');
   		}
   	}
  +	
  +	//展示聊天信息
   	function log(message) {
  -		var console = document.getElementById('console');
  -		var p = document.createElement('p');
  -		p.style.wordWrap = 'break-word';
  -		p.appendChild(document.createTextNode(message));
  -		console.appendChild(p);
  -		while (console.childNodes.length > 25) {
  -			console.removeChild(console.firstChild);
  -		}
  -		console.scrollTop = console.scrollHeight;
  +		$('#convo ul').append("<li>"+message+"</li>")
  +		$("#convo-ul").scrollTop($("#convo-ul")[0].scrollHeight);
   	}
  -	</script>
  +</script>
   </body>
   </html>
positive.code: 		}
  		setConnected(false);
  	}
  	function echo() {
  		if (ws != null) {
  			var message = document.getElementById('message').value;
  
negative.code: 		</nav>
  
  		<div class="row">
  			<div class="col-md-2"></div>
  			<div class="col-md-8 text-center">
  				<div id="connect-container">
  					<div>
  						<button id="connect" onclick="connect();">Connect</button>
  