Any thoughts on whey callBTT() can't be found using this code in a webview?
<html>
<head>
<script>
async function foo() {
var result = await callBTT('set_string_variable', {variable_name: 'aVar', to: "some value"});
console.log( "result", result )
}
foo()
</script>
</head>
<body>
This is a test
</body>
</html>