Add lint for index.js