diff --git a/app/views/layouts/phone.html.slim b/app/views/layouts/phone.html.slim
index 0bbe5ff5..e33c7c52 100644
--- a/app/views/layouts/phone.html.slim
+++ b/app/views/layouts/phone.html.slim
@@ -19,9 +19,9 @@ html lang="en"
link href="images/favicon.ico" rel="shortcut icon"
javascript:
// Dummy holder when Qmobile object is not supplied by the mobile phone
- QMobile || (var QMobile = {
+ QMobile || (QMobile = {
scanQr: function(){window.location = '/select_qrcode'}
- })
+ });
body
.navbar.navbar-fixed-top