Update index.js

Converted tabs to 2 spaces.