[config] let the browser compute relative paths

Seems to be the missing link for #2104