rejiggle html files