use https where applicable
load MathJax in footer if page-stem is set