javascript to add/remove subforms (still need to copy content in python)