diff --git a/book/book.toml b/book/book.toml
index 50ccd733..5bcbd9a4 100644
--- a/book/book.toml
+++ b/book/book.toml
@@ -10,7 +10,7 @@ preferred-dark-theme = "colibri"
git-repository-url = "https://github.com/helix-editor/helix"
edit-url-template = "https://github.com/helix-editor/helix/edit/master/book/{path}"
additional-css = ["custom.css"]
-additional-js = ["theme/scheme.min.js"]
+additional-js = ["scheme.min.js"]
[output.html.search]
use-boolean-and = true
diff --git a/book/theme/scheme.min.js b/book/scheme.min.js
similarity index 100%
rename from book/theme/scheme.min.js
rename to book/scheme.min.js
diff --git a/book/theme/index.hbs b/book/theme/index.hbs
index 62a78cd4..53edd928 100644
--- a/book/theme/index.hbs
+++ b/book/theme/index.hbs
@@ -323,13 +323,14 @@
-
{{#each additional_js}}
{{/each}}
+
+
{{#if is_print}}
{{#if mathjax_support}}