Simple way to expose some symfony2 container parameters to javascript