Use a namespace based on pathname for all localStorage