Decruft index
Load mathjax using detected protocol