The other thing that's nice about injecting on rendering the form snippet is that we only load the javascript when we need it and the javascript code will probably be closer to the template.html - I've been mulling to myself lately about how it can be tricky to find javascript thats affecting a template-piece (extension or snippet). Don't have an answer, just mulling.