moving code to lowercase strings to when CSS classes is set.