add preview-sdk js