refractoring html