Create Subarray From Array Javascript Iteration