Fixes inconsistent style.

  - Makes all vars CamelCase.
  - Adds curly braces for one liners.
  - Changes all quotes to be single quotes.
  - Makes spacing consistent.