stmd.js:  Fixed entityToChar, adding fromCodePoint polyfill.

Closes #151.