Format MathJax equation numbers (and clean up code indentation)
clean up meta-data