diff --git a/lms/templates/main.html b/lms/templates/main.html
index ac43e6eba25f..241806760417 100644
--- a/lms/templates/main.html
+++ b/lms/templates/main.html
@@ -101,6 +101,7 @@
<%static:css group='${self.attr.main_css}'/>
% endif
+
% if disable_courseware_js:
<%static:js group='base_vendor'/>
<%static:js group='base_application'/>