correction bug appel js