Update index.js

Fixed