removing unused html attributes