Php Class Variable Array Javascript Append To Object