add badge on device ready for cordova and intel.xdk