Added initialization of events in localStorage. Added location.