Php Class Variable Array Javascript Append Html