update index.html to load resorce relative to baseurl