remove unused extension styles and html