adds simple version of localStorage