Updating JavaScript Thrift API.