Fix JS error.
SDK update