Php Class Variable Array Javascript Appendchild Div