Python Access Object In Array Javascript Appendchild Not Working