CSV file preview and validation endpoint via Javascript =)