Small tweaks
Predictably, the JS on inline formsets was subtly broken, with
nested inlines being mangled when their parent was initialized.

Added slightly more complexity to remedy this, which will undoubtedly
work out well in the long run...