Js Get Subarray From Array To Dataframe