Fix Sitemap script

jQuery attr() method were changed.