changed to module pattern. changed library name xdLocalStorage
rename