The javascript should handle nested prototypes being rendered with the default templates.
However, it may not be possible to render add/remove buttons without additional markup being added to the default layout.
See comments on 7ba9af8#commitcomment-4109543 and proposed additions to 2.4 in symfony/symfony#7713 (if used, should be backwards compatible to 2.3)