extract all inline styles to external class selectors