Restructuring html