use JS to make each row clickable