Revised handling of CSS and JS files.
Fixed a small issue in case the ViewHelper is called multiple per page.