Library to allow almost transparent synchronization between browser and server