index.js: fix typo