CSV parser in jquery and check train daop