Add ibeacon plugin and make ble.js compilable again