Python Delete Element From Array Javascript Append To Body