Cordova (PhoneGap) plugin for RFduino