Update lib/index.js

Fixed typo