As per symfony/symfony#1827, it would be useful to add a tip somewhere in the documentation about how to use https://github.com/FriendsOfSymfony/FOSJsRoutingBundle to generate URLs in JavaScript.