[Twig] Fix caching by lazy loading services scoped request + Fix js escaping

This PR fixes #86 and should fix #87 too.