Style fixes using JSHint