Added fix for when mathjax is not available in current folder