Updated to latest js-sdk