Relax type hinting on file download methods
Add a Twig function for including the OpenSpace JS file