reduced whitespaces and duplicates when setting styleClass

Opinions?