Updated to latest version of js-sdk