Fixed index.js, updated readme