simple scratchpad app using localstorage