Workaround for simple-storage failure

This closes #797. It replaces simple-storage with a home-grown, temporary workaround for persistence in Firefox.