fix indent in js

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