Html5 errors fixed.
Merge pull request #1097 from phaidon/html5-fixes

Html5 errors fixed.