Twig extension allowing to seperate JS initialization of form type, so it can be easily called when the type is added to collection.