Added localstorage...among other things