localDB provides couple of functions to interact with localStorage API.