makes resouces paths relative

fix for component to work well behind web front-ends