done: local execution
done: webview promise
done: loadScript