network.js
function sendJoint(ws, objJoint, tag) {
	console.log('sending joint identified by unit ' + objJoint.unit.unit + ' to', ws.peer);
	tag ? sendResponse(ws, tag, {joint: objJoint}) : sendJustsaying(ws, 'joint', objJoint);
}
function sendJoint(ws, objJoint, tag) {
	console.log('sending joint identified by unit ' + objJoint.unit.unit + ' to', ws.peer);
	tag ? sendResponse(ws, tag, {joint: objJoint}) : sendJustsaying(ws, 'joint', objJoint);
}
function sendJoint ( ws , objJoint , tag ) { console . log ( 'sending joint identified by unit ' + objJoint . unit . unit + ' to' , ws . peer ) ; tag ? sendResponse ( ws , tag , { joint : objJoint } ) : sendJustsaying ( ws , 'joint' , objJoint ) ; }
joints sent as justsaying or as response to a request
joints sent as justsaying or as response to a request