Fix JSHint unused warning