local storage accessed via window