title: Zend headScript() and appendFile not working as expected
body: <p>I'm having an issue trying to append a javascript file using <code>headScript()-&gt;appendFile('file name')</code> with Zend.  I have my layout setup like this:</p>
  
  <pre><code>    &lt;?= $this-&gt;headScript()
      -&gt;prependScript( 'BASE_URL = "' . $this-&gt;baseUrl() . '";' )
      -&gt;appendFile( $this-&gt;baseUrl('js/lib/jquery/jquery-1.4.2.min.js') )
      -&gt;appendFile( $this-&gt;baseUrl('js/admin.js') );
  
  ?&gt;
  </code></pre>
  
  <p>Then, in my controller I am trying to append an additional js file only for this page, like:</p>
  
  <pre><code>    $this-&gt;view-&gt;headScript()-&gt;appendFile( 'another/js/file.js' );
  </code></pre>
  
  <p>This file needs to be appended to what is already setup in the layout.  However, this file gets added <em>before</em> the other 'appendFile' files.  I've also tried </p>
  
  <pre><code>$this-&gt;headScript()-&gt;offsetSetFile(999, '/js/myfuncs.js');
  </code></pre>
  
  <p>But this still adds the file before the other files.  This is not how I would expect this to work, especially when using the offsetSetFile method.  How can I add this file  <em>after</em> the other files?  Thanks.</p>