adds callback parameter to $add()

I had a need to know when push() completed to update UI accordingly...