Php Add Key And Value To Array Javascript Append Method In String