sharing properties and simple pub-sub for tabs and windows written on top of localStorage