Added csv data download view and js function