Fix namespacing bugs in localStorage