Add JS callback example code