Convert .csv to Javascript Array