Php Push Object To Array Javascript Iteration Methods In Js