Fix linter error for index.js.