Bug fixes

Updated Sitemap generation
Fixed some issues with JSTree code for Themes