consolidated app.js, made a smarter mattext parser (only parses text nodes in mattext). Added equations
use local copy of mathjax