diff --git a/static/index.html b/static/index.html
index b7085458b..1cc71bd9b 100644
--- a/static/index.html
+++ b/static/index.html
@@ -125,6 +125,6 @@
}
//start the costum js
- if(costumStart) costumStart();
+ if(typeof costumStart == "function") costumStart();