Php Set Empty Array Javascript Append W3schools