Php String Loop Through Object Jquery Download Function In Js