"If contains class closed, add class closed" doesn't sound right