Fix Js mineur

Signed-off-by: Benjamin Mosnier <bm@kappuccino.org>