Correction bug js