diff --git a/mkdocs.yml b/mkdocs.yml
index a237422e2dac4ef66f3ef2e7e636db0923ba416c..b0a8d172ca722979e5cd57d9e0e1c2ef0fcb7be7 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -32,7 +32,7 @@ markdown_extensions:
   - pymdownx.details
 
 extra_javascript:
-  - 'scripts/mathjaxhelper.js'
   - 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.3/MathJax.js?config=TeX-AMS_HTML'
   - 'https://cdn.plot.ly/plotly-latest.min.js'
+  - 'scripts/mathjaxhelper.js'
 copyright: "Copyright © 2017-2018 Delft University of Technology, CC-BY-SA-NC 4.0."
diff --git a/src/scripts/mathjaxhelper.js b/src/scripts/mathjaxhelper.js
index bec7b177c7c1d2ca063f416db4af27fed5e6b824..03d02b30c0f46d1dd98cef7d747815827b4e1be9 100644
--- a/src/scripts/mathjaxhelper.js
+++ b/src/scripts/mathjaxhelper.js
@@ -1,5 +1,20 @@
-MathJax.Hub.Config({
-  config: ["MMLorHTML.js"],
-  jax: ["input/TeX", "output/HTML-CSS", "output/NativeMML"],
-  extensions: ["MathMenu.js", "MathZoom.js"]
-});
+window.MathJax = {
+  tex2jax: {
+    inlineMath: [ ["\\(","\\)"] ],
+    displayMath: [ ["\\[","\\]"] ]
+  },
+  TeX: {
+    TagSide: "right",
+    TagIndent: ".8em",
+    MultLineWidth: "85%",
+    equationNumbers: {
+      autoNumber: "AMS",
+    },
+    unicode: {
+      fonts: "STIXGeneral,'Arial Unicode MS'"
+    }
+  },
+  displayAlign: "left",
+  showProcessingMessages: false,
+  messageStyle: "none"
+};