harmonize whitespace

Using the pattern already present in the file:
2 spaces in script & style blocks,
and 4 spaces in html.