title: Symfony 2: How to generate image paths in javascript file?
body: <p>I've been googling this for long time! I need to show images on some menu hover and mouseout. The code is written in a js file. But the images path needs to be generated. Is there any way to generate image paths using something like this </p>
  
  <p>{{ asset('bundles/mybundle/images/menu_down.png') }}</p>
  
  <p>Can FOSJsRoutingBundle used to generate image paths in js files?</p>