Added MathJax and reorganized licensing