Styling wave 1

First wave of styling. Plenty more to do.
Use 2 (not 0) spaces for indentation.<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.