Sync your javascript objects to localStorage in real time