diff --git a/themes/typing/layout/_partial/after-footer.ejs b/themes/typing/layout/_partial/after-footer.ejs
index 64d8ae1..addb480 100644
--- a/themes/typing/layout/_partial/after-footer.ejs
+++ b/themes/typing/layout/_partial/after-footer.ejs
@@ -3,4 +3,4 @@
<% } %>
<%/* javascript of Typing theme */%>
-<%- addJs('js/typing') %>
+<%- addJs('js/typing.js') %>
diff --git a/themes/typing/layout/_partial/head.ejs b/themes/typing/layout/_partial/head.ejs
index 7b52eb6..ab21242 100644
--- a/themes/typing/layout/_partial/head.ejs
+++ b/themes/typing/layout/_partial/head.ejs
@@ -42,7 +42,7 @@
<%/* Fallback function for SRI */%>
- <%- js('js/sri.min') %>
+ <%- addJs('js/sri.min.js') %>
<%- addCss('css/typing.css') %>
<% if (theme.icons) { %>