Adding comments to csv-2-json.js

Added comments to explain what code is doing.