Correction bug JS