Added JS callback to beacon found