remove whitespace and delimit classNames w/ a dot