fousky/jsblock (packagist): Collect & render javascripts at the end of your template.
Keywords: twig extension