Simplify the structure of html