replace local static files with cdn resources