Jquery Loop Over Array Javascript Push Method In Js