Node.js Cosm Client