Update index.js

Fixed minor typo