fixed index.js typo