remove comments and not used JS functions

Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
display default adapter in example

Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
print error in example html page

Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
set/unset C API bonding callbacks

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

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

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