set isBonded boolean accordingly in JS

Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>