adding registerForBeaconFound js