Php Class Variable Array Javascript Append String