
				console.log( data );
			};

			ws.onerror = function( error ) {
				console.log( "Error: ", error );
			};

			ws.onclose = function() {
				console.log( "Socket Closed" );
			};
			
		} );
		</script>
	</head>
	
	<body><ul id="messages"></ul></body>

</html>

