Deductions & credits

I’m confused.  My question  has nothing to do with social security. 
it’s about health spending account  (hsa ). And I read somewhere here that Nj is one of 2 states that taxes it