Added example code to ble.js