localStorage to window.localStorage