Create Array Using Loop Javascript Object Iterate Through Pandas