Make sure usage of btoa of the set method is within the try catch block. Helps deal with browsers that don't have btoa.
Make sure usage of btoa of the set method is within the try catch block. Helps deal with browsers that don't have btoa.

kiva/WebStorage