added twig functions for style and script to the twig loader