Catch against IE's broken storage events

Only deal with storage events that come while the document is not in focus.

See also: http://stackoverflow.com/questions/18476564/ie-localstorage-event-misfired