Where could I find some JavaScript code to parse CSV data?
You can use the CSVToArray() function mentioned in this blog entry.