var loadNodeMan = function(){ console.log("loadNodeMan"); var arg = {}; arg.action = "listNodes"; global.wssocket.send(JSON.stringify(arg)); };