Python Find Object In Array Javascript Appendchild