Update index.js

messy tabs, fixed most, I also need to get better at comments