Update to the latest HTML5 specification

Based on this document: http://www.w3.org/TR/2013/CR-html5-20130806