Updated the node.js library to the latest API spec.