Relativize urls for static resources