Update index.js

debug alert