fix checkbox placement, aligns buttons for js and non-js