url of CSS and JS files registered in View can be url alias

fixes #2132, fixes #2133