Support JS -> CPP -> JS callback