Added documentation and some minor HTML5 changes.