Update index.js

style