Update index.js

Stylistic changes