linting categories.js and footer.js