fixed errors in header and footer,

and reversed some of the stuff on <p> tags that i had changed.

This actually fixed the <p> problem and now it seems like it's valid
HTML5.
custom mathjax config and fixed typesetting delay

problem.
Merge branch 'master' of github.com:amakelov/amakelov.github.io