True, probably wouldn't hurt to add !window.localStorage as well. that's about my extent knowledge of falsey in JS anyways :)