make urls relative, use current url in browser as base url