diff --git a/html/src/app.js b/html/src/app.js
index 50f15841..32bb9749 100644
--- a/html/src/app.js
+++ b/html/src/app.js
@@ -20,6 +20,8 @@ import gameLogService from './service/gamelog.js';
speechSynthesis.getVoices();
(async function () {
+ var $app = null;
+
await CefSharp.BindObjectAsync(
'AppApi',
'WebApi',
diff --git a/html/src/vr.js b/html/src/vr.js
index 3dac0705..62728c6e 100644
--- a/html/src/vr.js
+++ b/html/src/vr.js
@@ -16,6 +16,8 @@ import webApiService from './service/webapi.js';
speechSynthesis.getVoices();
(async function () {
+ var $app = null;
+
await CefSharp.BindObjectAsync(
'AppApi',
'WebApi',