added minimal localstorage support