Changed indent to 4.
Started fixing jshint warnings.