Reformat code, fix multiple div errors