extract duplicated view chunks into partials
remove duplicated styles