fix typoin readme and index.js