Add highlighted names to a JS array, output names and gender choice to a table