Fix JS SDK requirements