remove unused html elements