fixed links when opening index.html from a file: url