ItemData: Clean up
Remove static global objects
Use correct encoding for HTML
ItemSync: Fix variable name