Export as .ics revised

JS sends data to PHP which generates ICS and forces download