To delete all on a storage, you can use $.localStorage.deleteAll instead of yournamespacestorage.localStorage.deleteAll()