Remove trailing spaces.
index.html: Add some comments to clarify code.

Also fix indentation.
Fix indentation.
Merge pull request #168 from XhmikosR/indent

Indentation fixes