Update index.js

fix typo