Javascript Implementation of the TI CC2541 SensorTag for cordova-ble