fn eval_js( window_opt: &Option<Arc<WebviewWindow<Wry>>>, js: &str, ) -> Result<Value, String>
Evaluates JavaScript in the webview and returns the result as a serde_json::Value.