fixed bug preventing mathjax from loading when https is used