diff --git a/journals/templates/journals/manage_comment_metadata.html b/journals/templates/journals/manage_comment_metadata.html
index 12cfe71b5ac3d92b9d28649bcfb8709f221d4bd4..5c8d8ba1f8a9069eb1bb801ca03262a6222335eb 100644
--- a/journals/templates/journals/manage_comment_metadata.html
+++ b/journals/templates/journals/manage_comment_metadata.html
@@ -7,7 +7,7 @@
 
 {% load journals_extras %}
 
-<script type="text/javascript" src="{% static 'scipost/accordion-focusin.js' %}"></script>
+<script src="{% static 'scipost/accordion-focusin.js' %}"></script>
 
 {% block breadcrumb_items %}
   {{block.super}}
diff --git a/journals/templates/journals/manage_report_metadata.html b/journals/templates/journals/manage_report_metadata.html
index 66f1f6f7d91a361cfd3f699ab316380118ebd7f7..25f31bce0987dc688b1a48ebbec498fc53b7e95c 100644
--- a/journals/templates/journals/manage_report_metadata.html
+++ b/journals/templates/journals/manage_report_metadata.html
@@ -7,7 +7,7 @@
 
 {% load journals_extras %}
 
-<script type="text/javascript" src="{% static 'scipost/accordion-focusin.js' %}"></script>
+<script src="{% static 'scipost/accordion-focusin.js' %}"></script>
 
 {% block breadcrumb_items %}
   {{block.super}}
diff --git a/mails/widgets.py b/mails/widgets.py
index 6eea0fe5797978755bf9881a2b5c5625d67a7bcd..437f9c1e66c077ebd91238abce349f8162f4550d 100644
--- a/mails/widgets.py
+++ b/mails/widgets.py
@@ -52,7 +52,7 @@ class SummernoteEditor(widgets.Textarea):
 
     def trigger_summernote(self, el_id, options):
         str = """
-        <script type='text/javascript' nonce="%s">
+        <script nonce="%s">
             $(function() {
                 $('#%s').summernote(%s);
             });
diff --git a/scipost/templates/scipost/bare_base.html b/scipost/templates/scipost/bare_base.html
index 3b7c536a1f439941825f13bdae9fbcca27f8a518..313c8317e9a7f41697a989c18c80bcd27c2912a0 100644
--- a/scipost/templates/scipost/bare_base.html
+++ b/scipost/templates/scipost/bare_base.html
@@ -41,8 +41,8 @@
     {% include 'partials/scipost/notification_center_modal.html' %}
 
     <div class="backdrop" id="backdrop"></div>
-    <script type="text/javascript" src="{% static 'scipost/mathjax-config.js' %}"></script>
-    <script type="text/javascript" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML,Safe"></script>
+    <script src="{% static 'scipost/mathjax-config.js' %}"></script>
+    <script async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML,Safe"></script>
 
     {% block footer_script %}
     {% endblock footer_script %}
diff --git a/scipost/templates/scipost/header.html b/scipost/templates/scipost/header.html
index d91e1768d60817b7b09de88618cb4dc2b0060930..779dfb59eddb6ebafed566ec7e79d706333e7a30 100644
--- a/scipost/templates/scipost/header.html
+++ b/scipost/templates/scipost/header.html
@@ -31,7 +31,7 @@
       </ul>
     </div>
 
-    <script type="text/javascript" src="{% static 'scipost/search-header.js' %}"></script>
+    <script src="{% static 'scipost/search-header.js' %}"></script>
 
   </div>
 </header>
diff --git a/scipost/templates/scipost/login.html b/scipost/templates/scipost/login.html
index 0a7c14a72a5220ffe875cad161e3e1ed03dc33cf..5e35f0f28f7b0cb73627b6980fb43b00edea78bb 100644
--- a/scipost/templates/scipost/login.html
+++ b/scipost/templates/scipost/login.html
@@ -31,5 +31,5 @@
 {% endblock %}
 
 {% block footer_script %}
-  <script type="text/javascript" src="{% static 'scipost/login-form.js' %}"></script>
+  <script src="{% static 'scipost/login-form.js' %}"></script>
 {% endblock %}
diff --git a/scipost/templates/scipost/navbar.html b/scipost/templates/scipost/navbar.html
index 9857148d9f74f58917c6e78f841fca98db3906c8..a11f75293dce75b278d9c946603ae0658d0b1dfc 100644
--- a/scipost/templates/scipost/navbar.html
+++ b/scipost/templates/scipost/navbar.html
@@ -13,7 +13,7 @@
 <nav class="navbar navbar-expand-lg main-nav">
   <div class="container">
     <button class="navbar-toggler p-0 border-0" type="button" data-toggle="collapse" data-target="#main-navbar">
-      <script type="text/javascript" src="{% static 'scipost/navbar-icon-toggle.js' %}"></script>
+      <script src="{% static 'scipost/navbar-icon-toggle.js' %}"></script>
       <div class="navbar-toggler-icon">
         <div class="bar1"></div>
         <div class="bar2"></div>
@@ -287,4 +287,4 @@
     </div>
 </nav>
 
-<script type="text/javascript" src="{% static 'scipost/navbar-icon-toggle.js' %}"></script>
+<script src="{% static 'scipost/navbar-icon-toggle.js' %}"></script>
diff --git a/scipost/templates/scipost/update_personal_data.html b/scipost/templates/scipost/update_personal_data.html
index a7a8b01df8545fdb6f54be722bbe81ff568bf4c2..f7ec37af9eda9e6a03566e17d11a211f7b50757b 100644
--- a/scipost/templates/scipost/update_personal_data.html
+++ b/scipost/templates/scipost/update_personal_data.html
@@ -13,7 +13,7 @@
 {% block content %}
 
   {% if cont_form %}
-    <script type="text/javascript" src="{% static 'scipost/update-personal-data-expertises.js' %}"></script>
+    <script src="{% static 'scipost/update-personal-data-expertises.js' %}"></script>
   {% endif %}
 
 
diff --git a/submissions/templates/partials/submissions/pool/submission_assignment_request.html b/submissions/templates/partials/submissions/pool/submission_assignment_request.html
index cff9c1955c147a033fba8d760999e3b0ebdda0be..16a2963ecaead66c4c9a295e7637bad50ff8ae56 100644
--- a/submissions/templates/partials/submissions/pool/submission_assignment_request.html
+++ b/submissions/templates/partials/submissions/pool/submission_assignment_request.html
@@ -23,4 +23,4 @@
 </form>
 
 
-<script type="text/javascript" src="{% static 'scipost/assignment-request-form.js' %}"></script>
+<script src="{% static 'scipost/assignment-request-form.js' %}"></script>
diff --git a/submissions/templates/submissions/admin/report_compile_form.html b/submissions/templates/submissions/admin/report_compile_form.html
index b1a1477d9a2bc514d1fc09322838d750ee6dfb2b..922c166ecd808c9fb0ebdc62f29b76d2226b6ac8 100644
--- a/submissions/templates/submissions/admin/report_compile_form.html
+++ b/submissions/templates/submissions/admin/report_compile_form.html
@@ -41,6 +41,6 @@
     </div>
   </div>
 
-  <script type="text/javascript" src="{% static 'scipost/report-compile.js' %}"></script>
+  <script src="{% static 'scipost/report-compile.js' %}"></script>
 
 {% endblock %}
diff --git a/submissions/templates/submissions/pool/editorial_assignment.html b/submissions/templates/submissions/pool/editorial_assignment.html
index 8443d9b29662c6a938f667be0d376ec88cd653fd..138977d58330d3302e155e708fa484aa502d79c7 100644
--- a/submissions/templates/submissions/pool/editorial_assignment.html
+++ b/submissions/templates/submissions/pool/editorial_assignment.html
@@ -47,6 +47,6 @@
     </p>
   </form>
 
-  <script type="text/javascript" src="{% static 'scipost/editorial-assignment.js' %}"></script>
+  <script src="{% static 'scipost/editorial-assignment.js' %}"></script>
 
 {% endblock %}
diff --git a/submissions/templates/submissions/submission_form.html b/submissions/templates/submissions/submission_form.html
index 10f8cf27c7be5f8e6b6f7fd3daac23434464f187..80f7e35942115f7992da5f235c28c8ec6bb7c763 100644
--- a/submissions/templates/submissions/submission_form.html
+++ b/submissions/templates/submissions/submission_form.html
@@ -11,7 +11,7 @@
 {% endblock %}
 
 {% block footer_script %}
-  <script type="text/javascript" nonce="{{ request.csp_nonce }}">
+  <script nonce="{{ request.csp_nonce }}">
    $(document).ready(function(){
        $("#id_proceedings, #id_submission_type").parents('.form-group').hide()
        $('select#id_submitted_to').on('change', function (){
diff --git a/submissions/templates/submissions/treated_submission_pdf_compile.html b/submissions/templates/submissions/treated_submission_pdf_compile.html
index f8f63618cacf1c81b109896b0b833f03438f400e..3b4760a6ba93f2e7163292726af28516169a59c8 100644
--- a/submissions/templates/submissions/treated_submission_pdf_compile.html
+++ b/submissions/templates/submissions/treated_submission_pdf_compile.html
@@ -50,6 +50,6 @@
     </div>
   </div>
 
-  <script type="text/javascript" src="{% static 'scipost/report-compile.js' %}"></script>
+  <script src="{% static 'scipost/report-compile.js' %}"></script>
 
 {% endblock %}