handle case where printing HTML tag in serialize fails due to it not having children
Merge branch 'master' into gh-pages
script writes git hash into js file