Fixed ajax code for CSV downloads.