transform the all.csv to a js file