use utils functions in js

Change-Id: Icb29b4d08377ed6e8042a9a61f574bd06709f351
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
handle device UUIDs according to backend

Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
Revert "Not support bluetooth-frwk anymore (remove NTB flag)"

This reverts commit 1c586d95c7d76ff50241c02a567c1e01ff80210b.