JS: Clone table header to the bottom of table