fix a typo in index.js
update version for npm publish