Update index.js

suggested