Set CSV document name according to chart title

It requires updating PHP file (csv.php) to read $_POST['title']