Update json2html.js

Changed how 'class' and 'className' are handled to properly render in quirks mode