Once the webview guest has loaded I send an initial message which acts as a way to create a "trusted" link between the app and webview guest. This allows the script on the guest to evaluate the source of the message and then reply.