diff --git a/webapp/src/main/webapp/templates/freemarker/rubric.ftl b/webapp/src/main/webapp/templates/freemarker/rubric.ftl
index f2330967e..70ce7bd88 100644
--- a/webapp/src/main/webapp/templates/freemarker/rubric.ftl
+++ b/webapp/src/main/webapp/templates/freemarker/rubric.ftl
@@ -1,6 +1,8 @@
<#import "lib-vivo-properties.ftl" as vp>
<#include "individual-setup.ftl">
+${scripts.add('')}
+
@@ -109,23 +111,3 @@
#list>
#if>
-
-
-
-
-
diff --git a/webapp/src/main/webapp/templates/freemarker/rubrics.ftl b/webapp/src/main/webapp/templates/freemarker/rubrics.ftl
index ae08ad5aa..38364c94e 100644
--- a/webapp/src/main/webapp/templates/freemarker/rubrics.ftl
+++ b/webapp/src/main/webapp/templates/freemarker/rubrics.ftl
@@ -1,3 +1,5 @@
+${scripts.add('')}
+
<#list rubrics as rubric>
<#if !rubric.parentUri??>
<#assign childs = rubric.childs?number>
@@ -13,24 +15,6 @@
#list>
-
-
<#macro openButton childs>
<#if childs > 0>
+