send entire payload to JS app