Improve routes to HTML documents

Still not handling fragments inside the page