diff --git a/head.sub.php b/head.sub.php
index cda00e67c..54cd6f49c 100644
--- a/head.sub.php
+++ b/head.sub.php
@@ -73,7 +73,9 @@ var g4_is_ie = navigator.userAgent.toLowerCase().indexOf("msie") != -1;
+
if (!empty($g4['js_file'])) {
foreach ($g4['js_file'] as $key=>$value) {