Index: /main/waeup.kofa/branches/uli-diazo-themed/layout/static/js/kofa-button-rowadd.js
===================================================================
--- /main/waeup.kofa/branches/uli-diazo-themed/layout/static/js/kofa-button-rowadd.js	(revision 11052)
+++ /main/waeup.kofa/branches/uli-diazo-themed/layout/static/js/kofa-button-rowadd.js	(revision 11052)
@@ -0,0 +1,6 @@
+$("button.rowadd").click(function (evt) {
+   /* Do not submit the form really */
+   evt.preventDefault();
+   /* Add first .form-field after last .form-field... */
+   $(".variable-form:last").after($(".variable-form:first").clone().hide().fadeIn());
+});
Index: /main/waeup.kofa/branches/uli-diazo-themed/layout/static/js/kofa-tooltip.js
===================================================================
--- /main/waeup.kofa/branches/uli-diazo-themed/layout/static/js/kofa-tooltip.js	(revision 11052)
+++ /main/waeup.kofa/branches/uli-diazo-themed/layout/static/js/kofa-tooltip.js	(revision 11052)
@@ -0,0 +1,3 @@
+$(function () {
+  $("[data-toggle=tooltip]").tooltip();
+});
Index: /main/waeup.kofa/branches/uli-diazo-themed/layout/theme.html
===================================================================
--- /main/waeup.kofa/branches/uli-diazo-themed/layout/theme.html	(revision 11051)
+++ /main/waeup.kofa/branches/uli-diazo-themed/layout/theme.html	(revision 11052)
@@ -526,20 +526,7 @@
     <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
     <script src="static/bootstrap/js/bootstrap.min.js"></script>
-
-    <script type="text/javascript" class="kofa-script kofa-script-tooltip">
-      $(function () {
-        $("[data-toggle=tooltip]").tooltip();
-      });
-    </script>
-
-    <script type="text/javascript">
-      $("button.rowadd").click(function (evt) {
-         /* Do not submit the form really */
-         evt.preventDefault();
-         /* Add first .form-field after last .form-field... */
-         $(".variable-form:last").after($(".variable-form:first").clone().hide().fadeIn());
-      });
-    </script>
-
+    <script src="static/js/kofa-tooltip.js"></script>
+    <script src="static/js/kofa-button-rowadd.js"></script>
+    <script src="static/js/kofa-toggleall.js"></script>
     <script class="kofa-script-datatable"
         src="static/js/jquery.dataTables.min.js">
@@ -554,7 +541,4 @@
         src="static/js/kofa-datepicker.js">
     </script>
-    <script class="kofa-script-toggleall"
-        src="static/js/kofa-toggleall.js">
-    </script>
 
   </body>
