There is no other framework out there that can fix this problem. You're disconnected, you can't magically have your data given to the server.
Granted, I would like to do this:
Firebase.setInSyncCallback(function(isInSync) {
if(!isInSync) somediv.innerHTML = "Your changes have not been saved to the server yet.";
else somediv.innerHTML="";
});