Rebuilding the html