Make BluetoothEvent works with webcomponents