replaces paths for .js and .css