fixed paths to be relative so that out/index.html works from file://

this way all a distribution needs is out/ zipped up