diff --git a/vnc_auto.html b/vnc_auto.html
index 41cba3f4..ba261bef 100644
--- a/vnc_auto.html
+++ b/vnc_auto.html
@@ -234,7 +234,7 @@
}
window.onscriptsload = function () {
- var host, port, password, path, token, lastClipboard;
+ var host, port, password, path, token, lastClipboard, tok;
// Expire any old (>4h) entries from localStorage
Object.keys(localStorage)