Fix JSHint warnings.