emptyd node.js client implementation