An handler for the client js error