repair baseUrl for css/js files