diff --git a/templates/default/logout-iframe.php b/templates/default/logout-iframe.php
index c5b01deda63de724c882e974ff7249736be17c2f..7ca0408d37ef2ee6ddeffa1466ef9349aeed775c 100644
--- a/templates/default/logout-iframe.php
+++ b/templates/default/logout-iframe.php
@@ -1,7 +1,7 @@
 <?php 
 
 	
-	$this->data['head'] .= '<script language="JavaScript">
+	$this->data['head'] .= '<script type="text/javascript" language="JavaScript">
 // use pre-formatted output for this multiplication table
 var j;	// loop variables
 
@@ -55,4 +55,4 @@ for (j=1; j<=10; j++) {
 		</div>
 	</div>
 
-<?php $this->includeAtTemplateBase('includes/footer.php'); ?>
\ No newline at end of file
+<?php $this->includeAtTemplateBase('includes/footer.php'); ?>