The callback is working with single thread manner. BPS_FAILURE thrown exception isn't going to javascript catch block yet.