   styles:
     "#MathJax_Message":    visibility: "hidden", left: "", right: 0
     "#MathJax_MSIE_Frame": visibility: "hidden", left: "", right: 0
-)
+
+if MathJax?.Hub
+  MathJax.Hub.Config(MATHJAX_CONFIG)
+  MathJax.Hub.Configured()
+else
+  MATHJAX_CONFIG.AuthorInit = ->
+    MathJax.Hub.Configured()
+
+  window.MathJax = MATHJAX_CONFIG
+
 api = require './src/api'
 api.start()
 router = require './src/router'

require 'jquery'
require 'bootstrap' # Attach bootstrap to jQuery

window._STORES =
  APP_CONFIG: require './src/flux/app-config'

  TIME: require './src/flux/time'
  TOC: require './src/flux/toc'

MATHJAX_CONFIG =
  showProcessingMessages: false
  tex2jax:
    displayMath: [['\u200c\u200c\u200c', '\u200c\u200c\u200c']] # zero-width non-joiner
