make data urls relative so this works on gh-pages