Send a message to JS secret