Update index.js

fix