zf/library/Zend/View/Helper/HeadLink.php :
in createDataStylesheet function
try changing this:
$attributes = compact('rel', 'type', 'href', 'media', 'conditionalStylesheet', 'extras');
to this (or whatever)
$attributes = compact('type', 'href', 'media', 'conditionalStylesheet', 'extras');
If it works, you can create your own helper that inherits the default Zend value and overrides this method.
And in case of js try to do:
...->prependFile('yourfile.js', '');
source share