Use relative URLs to load html in js code