Strip trailing whitespace in index.html