Quick JS fix

Signed-off-by: Julien Bonvarlet <jbonva@gmail.com>