Wrapper for sync-client to transparently synchronize localStorage