Revert "comment out localstorage stuff for now"

This reverts commit 9e078f2bb5459c36679c41129650564784238302.