How To Push Value Into Array Javascript Iteration