index.js: linting & cleaning.