Initial JavaScript for the table
React on every checkbox change in the table
Toggling a table row as current when checking a corresponding checkbox
Rename "tr" elements into "head-row" and "row"
Select and undoselect the rows after checking the head checkbox