added localstorage plugin