Fix index.js
Revert 'fix' of index.js