how do you handle your callbacks client side?