Php Set Empty Array Javascript Append String