Select HTML table columns by clicking on the headers