adding pagemap to html