Php Insert Into Array Javascript Concat Lists Python