Update index.js

fixed typo