move mathjax to footer; jquery local