diff --git a/core/templates/layout.admin.php b/core/templates/layout.admin.php
index aa1de65c084eb296a1f439cc9b298d870df99946..e83cf6861bfe95537e3dbb2ca9d273d59e4db48d 100644
--- a/core/templates/layout.admin.php
+++ b/core/templates/layout.admin.php
@@ -23,7 +23,6 @@
 				echo $header['text'];
 				echo '</'.$header['tag'].'>';
 			?>
-			<script type="text/javascript" src="<?php echo $jsfile; ?>"></script>
 		<?php endforeach; ?>
 	</head>
 
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 2a9a817498d5ff53a3c88e76627072d3a600ed1d..2f528c9e62465738ea997625fcfa47fb5b1862b5 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -23,7 +23,6 @@
 				echo $header['text'];
 				echo '</'.$header['tag'].'>';
 			?>
-			<script type="text/javascript" src="<?php echo $jsfile; ?>"></script>
 		<?php endforeach; ?>
 	</head>