inject rpc js code to webview.