old_contents: const csvGenerator = {
  
  }
  
  export default csvGenerator;
new_contents: const csvGenerator = {
  	init() {
  		const downloadCsvBtnEl = document.querySelector(".js-download-csv-btn");
  		if (downloadCsvBtnEl) {
        downloadCsvBtnEl.addEventListener("click", e => {
        	window.open(window.location.href, '_blank');
        });
      }
  	}
  }
  
  export default csvGenerator;
subject: Handle download csv button click