restructure html