diff --git a/lib/exe/js.php b/lib/exe/js.php
index a3efff70011e2ca216f372b5900a5fcc31cae1d2..5ef3b5801b594a58aeef39c534cd3aaa49974f65 100644
--- a/lib/exe/js.php
+++ b/lib/exe/js.php
@@ -185,7 +185,7 @@ function js_load($file){
         }
         $data  = str_replace($match[0],$idata,$data);
     }
-    echo $data;
+    echo "$data\n";
 }
 
 /**