removing unused css and markup