code cleanup following mdo/code-guide on github

changed to soft tabs, 2 spaces only