Purge broken checkbox styles, refine sidebar js, and make sidebar-related markup more consistent with build markup.