Validate Csv File Using Javascript