title: Assetic not dumping js files using Symfony 2
body: <p>I have the following:</p>
  
  <pre><code>//config.yml
  # Assetic Configuration
  assetic:
      debug:          %kernel.debug%
      write_to:       %kernel.root_dir%/../web
      use_controller: false
      bundles:        ['ABundle','BBundle']
      java: C:\Program Files (x86)\Java\jre7\bin\java.exe
      filters:
          cssrewrite: ~
          #closure:
          #    jar: %kernel.root_dir%/Resources/java/compiler.jar
          yui_js:
              jar: %kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar
          yui_css:
              jar: %kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar
  </code></pre>
  
  <p>In some page:</p>
  
  <pre><code>{% block stylesheets %}
          {% stylesheets '@ABundle/Resources/public/css/x.css'
                         '@BBundle/Resources/public/css/y.css' 
                          output='css/general.css' filter='yui_css' %}
              &lt;link href="{{ asset_url }}" rel="stylesheet" type="text/css" /&gt;
          {% endstylesheets %}
  {% endblock %}
  </code></pre>
  
  <p>In other page:</p>
  
  <pre><code>{% block javascript %}
      {% javascripts 
          '@ABundle/Resources/public/js/jquery-1.10.2.min.js'
          '@ABundle/Resources/public/js/autoNumeric.js'
          '@ABundle/Resources/public/js/limiter.js.js'
          filter='yui_js' 
       %}
          &lt;script src="{{ asset_url }}" type="text/javascript"&gt;&lt;/script&gt;
       {% endjavascripts %}
  {% endblock %}
  </code></pre>
  
  <p>When from prompt I use:</p>
  
  <pre><code>php app/console cache:clear
  php app/console assets:install
  </code></pre>
  
  <p>and finally,</p>
  
  <pre><code>php app/console assetic:dump --env=prod --no-debug
  </code></pre>
  
  <p>I obtain this output:</p>
  
  <pre><code>Dumping all prod assets.
  Debug mode is off.
  
  21:39:24 [file+] C:/xampp/htdocs/aplication/app/../web/css/general.css
  </code></pre>
  
  <p>and finish</p>
  
  <p>Why assetic doesn´t dump js files? Css files work fine and are accesible.</p>