Cleaning index.js a tad