Localstorage module for browserify