modify image & remove unused style code in html