fixed sitemap.js and bug with links not working