Php Class Variable Array Javascript Append To Element