XML, LocalStorage and JSON now working