Update index.js

formatting