Refactor exportToCSV js function
Refactor exportToCSV js function

freeformz/pgweb,cmabastar/pgweb,hardware/pgweb,brianlow/pgweb,beni55/pgweb,akarki15/pgweb,adamjaso/pgweb,trigrass2/pgweb,daveallie/pgweb,freeformz/pgweb,akarki15/pgweb,beni55/pgweb,xiongjungit/pgweb,brianlow/pgweb,niiyz/pgweb,freeformz/pgweb,sosedoff/pgweb,adamjaso/pgweb,w4ngyi/pgweb,brianlow/pgweb,sosedoff/pgweb,niiyz/pgweb,akarki15/pgweb,w4ngyi/pgweb,w4ngyi/pgweb,sosedoff/pgweb,trigrass2/pgweb,hardware/pgweb,w4ngyi/pgweb,akarki15/pgweb,trigrass2/pgweb,adamjaso/pgweb,beni55/pgweb,xiongjungit/pgweb,brianlow/pgweb,trigrass2/pgweb,daveallie/pgweb,niiyz/pgweb,xiongjungit/pgweb,freeformz/pgweb,cmabastar/pgweb,daveallie/pgweb,cmabastar/pgweb,beni55/pgweb,hardware/pgweb,xiongjungit/pgweb,adamjaso/pgweb,sosedoff/pgweb,hardware/pgweb,daveallie/pgweb,niiyz/pgweb