Parses CSV/SQL to JS