add ofTwo CSS class to front-end components