fixing the download part of javascript and css controller actions