Reduce HTML structure hierachy