Update index.js

change