Correct whitespace inconsistencies and Dojo style violations.