Update index.js

Convert spaces to tabs for consistency/readability