diff --git a/pwnagotchi/ui/web/templates/index.html b/pwnagotchi/ui/web/templates/index.html
index c03f550..cc4d87a 100644
--- a/pwnagotchi/ui/web/templates/index.html
+++ b/pwnagotchi/ui/web/templates/index.html
@@ -25,7 +25,7 @@
 </div>
 
 <script type="text/javascript" src="/js/refresh.js"></script>
-<script type="text/javascript" src="/js/refresh.js"></script>
+<script type="text/javascript" src="/js/viewportHeight.js"></script>
 
 </body>
-</html>
\ No newline at end of file
+</html>