JavaScript object sync library