Add and remove nested model fields dynamically through JavaScript using either Prototype or jQuery.