Make JS-SDK work from Node.js