HTML5 Validation fix

Some fixes based on errors from the [W3C Validator](http://validator.w3.org/).