localstorage library that cross-compatable with devices and all browsers