I`m writing the function inside js, to export data to csv, and I almost made it, but, instead of displaying horizontally the headers and data, I want to display vertically