release
Update index.js
refactor