Correction js form fanta index (a tester)