Use proper packet structure
Fix javascript for <math> insertion

use online version of mathjax.js
(rendering is finally working 100%)