only render body-class if it's defined