Trying to make a Cordova app, am I on the right path?

I’ve been trying to create a Cordova app, as the title says. I installed cordova-plugin-estimote for this purpose, copied examples/beacon-binder as a template and started editing it. However, there is a $.each(beaconInfo.beacons,function(key,beacon) { ... } but that starts from the point of ibeacons when we get our beacon information with curl. I need to be able to get the identifier. So, how should I edit that line?