Fix JSHint complaints.