added bridge mechanism to communicate from WebView to Native