Tidying up formatting and code comments
Merge pull request #1304 from html5rocks/master

Tidying up formatting and code comments