RequireJS integration for Symfony2