diff --git a/themes/common.py b/themes/common.py
index 81330ea9..efae1a75 100644
--- a/themes/common.py
+++ b/themes/common.py
@@ -42,10 +42,10 @@ def get_common_html_javascript_code():
for common_js_path in common_js_path_list:
if '.min.' not in common_js_path:
minimized_js_path = minimize_js(common_js_path)
- for jsf in [
- f"file={minimized_js_path}",
- ]:
- js += f"""\n"""
+ else:
+ minimized_js_path = common_js_path
+ jsf = f"file={minimized_js_path}"
+ js += f"""\n"""
if not ADD_WAIFU:
js += """\n"""