removes unused style variables and removes unused classes