Adding classes to elements; Generalizing assets styles