APD-7: reindent JavaScript to 2 spaces.
APD-7: correct indentation.
APD-7: show only 2 rows for groups except the first one.
APD-7:  remove the `remove button group` from the first group.