Example implementation of the iBeacon PhoneGap plugin.