Fix JSHint globals warnings.