replace absolute /static references with relative static