Update localstoragedb.js

allow add zero and empty string to database