Update index.js

Fixed formatting