is localStorage domain bound to javascript or document source?